package com.neusoft.hifly.core.pojo;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "MyPage", description = "分页对象")
public class MyPage<T> implements Serializable {

	private static final long serialVersionUID = -5693908311300144871L;

	@ApiModelProperty(value = "记录数")
	private int total;

	@ApiModelProperty(value = "结果集")
	private List<T> records;

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public List<T> getRecords() {
		return records;
	}

	public void setRecords(List<T> records) {
		this.records = records;
	}

}
